package io.dracula.test.spring.presentation.boot;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author dk
 */
@Component
@ConfigurationProperties(prefix = "some")
public class SomeProperties {

    private String user;

    private String password;

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "SomeProperties{" +
                "user='" + user + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}
